
//卡类型
export enum ACardType {
    Monster = 0, Character
}

//种族
export enum RaceType {

}

//职业
export enum OccType {
    All = 0,
    Warrior = 1, //战士
    MainTank = 2, //坦克
    Wizard = 3, //法师
    Archer = 4, //射手
    Assassin = 5, //刺客
    Assistant = 6, //辅助
    Holy, //神圣
}


export enum TaskType {
    MarketBuy = 1,
    ClickGold,
    GetOnlineData,
    Instance,
    Abyss,
    Arena,
    Chest,
    DaySign,
    Share,
}

export enum RewardType {
    Equipment = 1,
    Prop,//材料
    Skill,//技能
    Resource,//金币 经验 钻石
}

export const BattleTime = {
    Progress: 1200,
    MsgDelay: 1000,
    BuffInterval: 100,
    OneAttack: 1000,
    BattleRound: 1200,
    Trigger: 250,
    BattleRoundEnd: 1200,
    BattleEnd: 1500,
    Adventure: 4500,
    AdventureInit: 800,
    BattleMaxTime: 35000,
    BattleMinTime: 26000,
}

export enum BagType {
    Bag = 1,
    Equipment,
    Card,
    Pet,
    PetEquipment,
    Ride,
    Fish,
    Abyss,
    Skill,
    Halidom
}

export enum BattleResult {
    Ing = 0,
    Lost = 1,
    Win = 2
}

export enum MatrixColor {
    Gray = 1,
    Yellow = 2,
    Blue = 3,
    Red = 4
}


export enum UnitType {

    Partner = 0,
    Init = 1,
    Normal = 2,
    Elite = 3,
    Lord = 4,
    Boss = 5,
    WBoss = 6,//世界boss
    Call = 7,

    Altar = 10, //神域
}

export enum AngerType {
    Attack = 1,
    BeAttack = 2,
    Round = 3
}

export enum BuffTargetType {
    MySelf = 1,
    AttackTarget,
    AttackTargetAround,
    MyTeam,
    OppentTeam,
    MyPartner,
    Skill,
    Partner,
    Boss,
    Enemy,
}

export enum TargetType {
    MySelf = 1,
    Trigger, //触发者
    Stakeholder, //触发相关者
    BeTrigger, //被触发者
    MyTeam, //队伍
    OppentTeam, //对手队伍
    Skill,
    Partners, //队友
    PartnersNoMySelf, //队友除了自己
    Boss,
    Enemys,
    TeamFront, //前排
    TeamBack, //后排
}

export enum TriggerType {
    BattleStart = 1, //战斗开始前
    RoundStart, //回合开始前
    RoundEnd, //回合结束后
    CurePre, //治疗前
    Cure, //治疗
    BeCure, //被治疗

    UseSkill, // 自身使用技能
    AttackPre, // 攻击前
    CalcDamagePre, // 造成伤害计算前
    KillEnemy, // 击杀单位
    CalcDamageAfter, // 造成伤害后
    AttackAfter, // 攻击后

    Dead, // 阵亡
    BeInjured, // 受到伤害后
    BeAttackAfter, // 被攻击后
    AddNegativeStatus, // 添加负面状态



    CreateMonster, //创建怪物    
    EnemyNegativeStatus, // 敌人添加负面状态

    OtherUseSkill = 50, //使用技能
    OtherDead, //阵亡
    OtherBeInjured, //受到伤害
    OtherBeAttackAfter, //被攻击
    OtherClearShield, //护盾消失
    OtherGetNegativeStatus, //获得负面状态
    OtherClearNegativeStatus, //清除负面状态

    Block // 格挡
}

export enum TargetRankType {
    Default = 0,
    Hatred = 1,
    HgihHp = 2,
    LowHp,
    HgihMaxHp,
    LowMaxHp,
    HighAttack,
    LowAttack,
    HighSpeed,
    LowSpeed,
}

export enum TriggerType2 {
    MySelf = 1,
    All,
}

export enum TeamID {
    All = 0,
    Team1 = 1,
    Team2 = 2
}


export enum MakePropType {
    Assist = 1, //辅助
    Suit = 2, //套装
    Special = 3, //特殊
}

export enum BattleDirection {
    Left = 1, //
    Right = 2, //
    Top,
    Bottom
}




export enum DefType {
    Normal = 1,
}

export enum TriggerTeamType {
    All = 0,
    Friend = 1,
    Oppent = 2,
}

export enum AttackType {
    All = 0,
    Normal = 1,
    Skill = 2,
    AttackBack, //反击
    DoubleAttack, //连击
    AttackOther,
    HurtAttack, //伤害攻击
    Null, //无定义
}

export enum HurtType {
    All = 0,
    Physics = 1,
    Magic = 2,
    Skill,
    Ice,
    Water,
    Fire,
    Thunder,
    Poison, //毒
    Blood, //流血
    Holy, //神圣
    Null, //无定义
}

export enum BuffType {
    None = 0,
    Attri = 1,
    Vertigo = 2, //眩晕, 头晕
    Blood, //流血
    Poison, //中毒,胃疼
    Silent, //沉默
    Confused, //混乱
    Sneer, //嘲讽
    KongJu, //恐惧
    ZhiMang, //致盲
    ChiDun, //迟钝
    PoJia, //破甲
    XueRuo, //虚弱
    PoFang, //破防
    Ice, //寒冷
    Fire, //燃烧
    YiShang,
}

export enum BuffMainType {
    All = 0,
    Attri = 1,//属性
    Control = 2,//控制
    Damage = 3,//伤害
}


export enum BuffPositive {
    All = 0,
    Positive = 1,
    Negative = 2, //负面
}


export enum BattleType {
    Adventure = 1,
    Pk = 2,
}

export enum AdventureType {
    Task = 1,
    Explore = 2,
    Cut = 3,
    Collect = 4,
    Mine = 5,
    Gather = 6,
    Treasure = 7
}

export enum BaseAttriType {
    Str = 0,
    Con = 1,
    Agile = 2,
    Spirit = 3,
    Will = 4
}


export enum AttriType { //属性类型
    Attri = 0,
    StatusHurtPer = 1,
    StatusReduceHurt = 2,
    DecSkillCd = 3,
    SkillHurtPer = 4,
    SpAttri = 5, //特殊属性
    OccAntiHurtPer = 6, //职业抗性
    OccAttri = 7, //职业属性
    BattlePosAttri = 8, //战斗位置属性
    Adventure,
    HeroQualityAttri, //英雄品质
    AltarAttri, //神域属性
    EquipmentAttri,//装备属性
    Skill,//技能
}

export enum EquipmentType {
    None = 0,
    Weapon = 1,
    SubWeapon = 2,
    Head = 3,
    Body = 4,
    Foot = 5,
    Leg = 6,
    Ring = 7,
    Earring = 8,
    Necklace = 9,
    Waist = 10,
    Shoulder = 11,
    Wings = 12,
}

export enum HalidomType {
    None = 0,
    Aquarius = 1, // 水瓶
    Pisces = 2, // 双鱼
    Aries = 3,
    Taurus = 4,
    Gemini = 5,
    Cancer = 6,
    Leo = 7,
    Virgo = 8,
    Libra = 9,
    Scorpio = 10,
    Sagittarius = 11,
    Capricorn = 12,
}


export enum PanelShowType {
    None = 0,
    Left = 1,
    Top = 2,
    Right = 3,
    Bottom = 4
}

export enum PanelPosition {
    Center = 1,
    Left = 2,
    Top = 3,
    Right = 4,
    Bottom = 5,

}

export enum MapType {
    Normal = 1, //普通
    Instance = 2, //副本
    Abyss = 3, //深渊
    Arena = 4, //竞技场
    WBoss = 5, //世界boss
    Front = 6,//法阵
}

export enum NormlaTaskType {
    Altar = 1, //神域
    PartnerLvl = 2,
    AdventureFloor = 3,
    ExploreFloor = 4,
    EquipmentStr = 5,
    Instance = 6,
    AbyssMap = 7,
    TalentLvl = 8,
    ResearchLvl = 9,
    MarketBuyTimes = 10,
    HeroStarLvl = 11,
    TreasureStarLvl = 12,
    OpenChestTimes = 13,
    FormationLvl = 14,
    AltarStrLvl = 15,
    GodLvl = 16,
}


export enum AnimationValueType {
    RecoverHp = 1,
    CureHp = 2,
    CureMp,
    CureAnger,
    CureShield,
    BloodHp,
    Anger,
    Other,
    DoubleAttack,
}


export enum NodeType {
    Container = 1,
    Graphics = 2,
    Text = 3,
    Sprite
}